#include <iostream>
#include <vector>
#include <iomanip>
using namespace std;
bool searchVal(vector<int>::iterator beg,vector<int>::iterator end,int val){
	for(vector<int>::iterator p=beg ; p<end ; p++){
		if(*p==val)
		return 1;
	}
	return 0;
}
int main(){
	vector<int> aList = {1,3,5,7,9,10};
	for(int i=0;i<=20;i++){
	cout<<right<<setw(2)<<i<<":  "<<searchVal(aList.begin(),aList.end(),i)<<endl;
    }
	return 0;
}
